package com.gandong8.trace.tool.config.redis.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 redisson.address=localhost:6379
 redisson.password=
 redisson.idle-connection-timeout=10000
 redisson.connect-timeout=10000
 redisson.timeout=3000
 redisson.database=0
 redisson.connection-minimum-idle-size=8
 redisson.connection-pool-size=32
 */
@ConfigurationProperties(prefix = "redisson")
@Data
public class RedissonProperties {
    private String address;
    private String password;
    private int idleConnectionTimeout = 10000;
    private int connectTimeout = 10000;
    private int timeout = 3000;
    private int database = 0;
    private int connectionMinimumIdleSize = 32;
    private int connectionPoolSize = 64;
}
